app2(app2(neq, 0), 0) -> false
app2(app2(neq, 0), app2(s, y)) -> true
app2(app2(neq, app2(s, x)), 0) -> true
app2(app2(neq, app2(s, x)), app2(s, y)) -> app2(app2(neq, x), y)
app2(app2(filter, f), nil) -> nil
app2(app2(filter, f), app2(app2(cons, y), ys)) -> app2(app2(app2(filtersub, app2(f, y)), f), app2(app2(cons, y), ys))
app2(app2(app2(filtersub, true), f), app2(app2(cons, y), ys)) -> app2(app2(cons, y), app2(app2(filter, f), ys))
app2(app2(app2(filtersub, false), f), app2(app2(cons, y), ys)) -> app2(app2(filter, f), ys)
nonzero -> app2(filter, app2(neq, 0))
↳ QTRS
↳ DependencyPairsProof
app2(app2(neq, 0), 0) -> false
app2(app2(neq, 0), app2(s, y)) -> true
app2(app2(neq, app2(s, x)), 0) -> true
app2(app2(neq, app2(s, x)), app2(s, y)) -> app2(app2(neq, x), y)
app2(app2(filter, f), nil) -> nil
app2(app2(filter, f), app2(app2(cons, y), ys)) -> app2(app2(app2(filtersub, app2(f, y)), f), app2(app2(cons, y), ys))
app2(app2(app2(filtersub, true), f), app2(app2(cons, y), ys)) -> app2(app2(cons, y), app2(app2(filter, f), ys))
app2(app2(app2(filtersub, false), f), app2(app2(cons, y), ys)) -> app2(app2(filter, f), ys)
nonzero -> app2(filter, app2(neq, 0))
APP2(app2(neq, app2(s, x)), app2(s, y)) -> APP2(neq, x)
APP2(app2(app2(filtersub, true), f), app2(app2(cons, y), ys)) -> APP2(app2(cons, y), app2(app2(filter, f), ys))
NONZERO -> APP2(neq, 0)
APP2(app2(filter, f), app2(app2(cons, y), ys)) -> APP2(filtersub, app2(f, y))
APP2(app2(filter, f), app2(app2(cons, y), ys)) -> APP2(app2(filtersub, app2(f, y)), f)
APP2(app2(filter, f), app2(app2(cons, y), ys)) -> APP2(app2(app2(filtersub, app2(f, y)), f), app2(app2(cons, y), ys))
APP2(app2(filter, f), app2(app2(cons, y), ys)) -> APP2(f, y)
APP2(app2(neq, app2(s, x)), app2(s, y)) -> APP2(app2(neq, x), y)
APP2(app2(app2(filtersub, false), f), app2(app2(cons, y), ys)) -> APP2(filter, f)
APP2(app2(app2(filtersub, false), f), app2(app2(cons, y), ys)) -> APP2(app2(filter, f), ys)
APP2(app2(app2(filtersub, true), f), app2(app2(cons, y), ys)) -> APP2(filter, f)
APP2(app2(app2(filtersub, true), f), app2(app2(cons, y), ys)) -> APP2(app2(filter, f), ys)
NONZERO -> APP2(filter, app2(neq, 0))
app2(app2(neq, 0), 0) -> false
app2(app2(neq, 0), app2(s, y)) -> true
app2(app2(neq, app2(s, x)), 0) -> true
app2(app2(neq, app2(s, x)), app2(s, y)) -> app2(app2(neq, x), y)
app2(app2(filter, f), nil) -> nil
app2(app2(filter, f), app2(app2(cons, y), ys)) -> app2(app2(app2(filtersub, app2(f, y)), f), app2(app2(cons, y), ys))
app2(app2(app2(filtersub, true), f), app2(app2(cons, y), ys)) -> app2(app2(cons, y), app2(app2(filter, f), ys))
app2(app2(app2(filtersub, false), f), app2(app2(cons, y), ys)) -> app2(app2(filter, f), ys)
nonzero -> app2(filter, app2(neq, 0))
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
APP2(app2(neq, app2(s, x)), app2(s, y)) -> APP2(neq, x)
APP2(app2(app2(filtersub, true), f), app2(app2(cons, y), ys)) -> APP2(app2(cons, y), app2(app2(filter, f), ys))
NONZERO -> APP2(neq, 0)
APP2(app2(filter, f), app2(app2(cons, y), ys)) -> APP2(filtersub, app2(f, y))
APP2(app2(filter, f), app2(app2(cons, y), ys)) -> APP2(app2(filtersub, app2(f, y)), f)
APP2(app2(filter, f), app2(app2(cons, y), ys)) -> APP2(app2(app2(filtersub, app2(f, y)), f), app2(app2(cons, y), ys))
APP2(app2(filter, f), app2(app2(cons, y), ys)) -> APP2(f, y)
APP2(app2(neq, app2(s, x)), app2(s, y)) -> APP2(app2(neq, x), y)
APP2(app2(app2(filtersub, false), f), app2(app2(cons, y), ys)) -> APP2(filter, f)
APP2(app2(app2(filtersub, false), f), app2(app2(cons, y), ys)) -> APP2(app2(filter, f), ys)
APP2(app2(app2(filtersub, true), f), app2(app2(cons, y), ys)) -> APP2(filter, f)
APP2(app2(app2(filtersub, true), f), app2(app2(cons, y), ys)) -> APP2(app2(filter, f), ys)
NONZERO -> APP2(filter, app2(neq, 0))
app2(app2(neq, 0), 0) -> false
app2(app2(neq, 0), app2(s, y)) -> true
app2(app2(neq, app2(s, x)), 0) -> true
app2(app2(neq, app2(s, x)), app2(s, y)) -> app2(app2(neq, x), y)
app2(app2(filter, f), nil) -> nil
app2(app2(filter, f), app2(app2(cons, y), ys)) -> app2(app2(app2(filtersub, app2(f, y)), f), app2(app2(cons, y), ys))
app2(app2(app2(filtersub, true), f), app2(app2(cons, y), ys)) -> app2(app2(cons, y), app2(app2(filter, f), ys))
app2(app2(app2(filtersub, false), f), app2(app2(cons, y), ys)) -> app2(app2(filter, f), ys)
nonzero -> app2(filter, app2(neq, 0))
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDPOrderProof
↳ QDP
APP2(app2(neq, app2(s, x)), app2(s, y)) -> APP2(app2(neq, x), y)
app2(app2(neq, 0), 0) -> false
app2(app2(neq, 0), app2(s, y)) -> true
app2(app2(neq, app2(s, x)), 0) -> true
app2(app2(neq, app2(s, x)), app2(s, y)) -> app2(app2(neq, x), y)
app2(app2(filter, f), nil) -> nil
app2(app2(filter, f), app2(app2(cons, y), ys)) -> app2(app2(app2(filtersub, app2(f, y)), f), app2(app2(cons, y), ys))
app2(app2(app2(filtersub, true), f), app2(app2(cons, y), ys)) -> app2(app2(cons, y), app2(app2(filter, f), ys))
app2(app2(app2(filtersub, false), f), app2(app2(cons, y), ys)) -> app2(app2(filter, f), ys)
nonzero -> app2(filter, app2(neq, 0))
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
APP2(app2(neq, app2(s, x)), app2(s, y)) -> APP2(app2(neq, x), y)
POL( APP2(x1, x2) ) = max{0, x2 - 1}
POL( app2(x1, x2) ) = x1 + x2 + 1
POL( s ) = 1
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ PisEmptyProof
↳ QDP
app2(app2(neq, 0), 0) -> false
app2(app2(neq, 0), app2(s, y)) -> true
app2(app2(neq, app2(s, x)), 0) -> true
app2(app2(neq, app2(s, x)), app2(s, y)) -> app2(app2(neq, x), y)
app2(app2(filter, f), nil) -> nil
app2(app2(filter, f), app2(app2(cons, y), ys)) -> app2(app2(app2(filtersub, app2(f, y)), f), app2(app2(cons, y), ys))
app2(app2(app2(filtersub, true), f), app2(app2(cons, y), ys)) -> app2(app2(cons, y), app2(app2(filter, f), ys))
app2(app2(app2(filtersub, false), f), app2(app2(cons, y), ys)) -> app2(app2(filter, f), ys)
nonzero -> app2(filter, app2(neq, 0))
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDPOrderProof
APP2(app2(app2(filtersub, false), f), app2(app2(cons, y), ys)) -> APP2(app2(filter, f), ys)
APP2(app2(app2(filtersub, true), f), app2(app2(cons, y), ys)) -> APP2(app2(filter, f), ys)
APP2(app2(filter, f), app2(app2(cons, y), ys)) -> APP2(f, y)
APP2(app2(filter, f), app2(app2(cons, y), ys)) -> APP2(app2(app2(filtersub, app2(f, y)), f), app2(app2(cons, y), ys))
app2(app2(neq, 0), 0) -> false
app2(app2(neq, 0), app2(s, y)) -> true
app2(app2(neq, app2(s, x)), 0) -> true
app2(app2(neq, app2(s, x)), app2(s, y)) -> app2(app2(neq, x), y)
app2(app2(filter, f), nil) -> nil
app2(app2(filter, f), app2(app2(cons, y), ys)) -> app2(app2(app2(filtersub, app2(f, y)), f), app2(app2(cons, y), ys))
app2(app2(app2(filtersub, true), f), app2(app2(cons, y), ys)) -> app2(app2(cons, y), app2(app2(filter, f), ys))
app2(app2(app2(filtersub, false), f), app2(app2(cons, y), ys)) -> app2(app2(filter, f), ys)
nonzero -> app2(filter, app2(neq, 0))
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
APP2(app2(app2(filtersub, false), f), app2(app2(cons, y), ys)) -> APP2(app2(filter, f), ys)
APP2(app2(app2(filtersub, true), f), app2(app2(cons, y), ys)) -> APP2(app2(filter, f), ys)
APP2(app2(filter, f), app2(app2(cons, y), ys)) -> APP2(f, y)
Used ordering: Polynomial Order [17,21] with Interpretation:
APP2(app2(filter, f), app2(app2(cons, y), ys)) -> APP2(app2(app2(filtersub, app2(f, y)), f), app2(app2(cons, y), ys))
POL( APP2(x1, x2) ) = max{0, x2 - 1}
POL( app2(x1, x2) ) = x1 + x2 + 1
POL( cons ) = 0
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ DependencyGraphProof
APP2(app2(filter, f), app2(app2(cons, y), ys)) -> APP2(app2(app2(filtersub, app2(f, y)), f), app2(app2(cons, y), ys))
app2(app2(neq, 0), 0) -> false
app2(app2(neq, 0), app2(s, y)) -> true
app2(app2(neq, app2(s, x)), 0) -> true
app2(app2(neq, app2(s, x)), app2(s, y)) -> app2(app2(neq, x), y)
app2(app2(filter, f), nil) -> nil
app2(app2(filter, f), app2(app2(cons, y), ys)) -> app2(app2(app2(filtersub, app2(f, y)), f), app2(app2(cons, y), ys))
app2(app2(app2(filtersub, true), f), app2(app2(cons, y), ys)) -> app2(app2(cons, y), app2(app2(filter, f), ys))
app2(app2(app2(filtersub, false), f), app2(app2(cons, y), ys)) -> app2(app2(filter, f), ys)
nonzero -> app2(filter, app2(neq, 0))